package com.booksystem.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * <p>
 *   更新订单状态数据传输对象
 * </p>
 * @author 段伟豪
 */
@Data
@ApiModel(description = "更新订单状态请求参数")
public class UpdateOrderStatusDTO {

    /**
     * 订单ID
     */
    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    /**
     * 订单状态
     */
    @NotNull(message = "订单状态不能为空")
    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;
}